<template>
<!-- 模块标题组件 -->
    <div>
        <h2><slot></slot></h2>
    </div>
</template>

<script>
export default {
    
}
</script>

<style lang="less" scoped>
h2{
    text-align: left;
    margin-top: 20px;
    padding-left: 9px;
    position: relative;
    margin-bottom: 14px;
    font-size: 17px;
    height: 20px;
    line-height: 20px;
    &::after{
        content: " ";
        position: absolute;
        left: 0;
        top: 50%;
        margin-top: -9px;
        width: 2px;
        height: 16px;
        background-color: #d33a31;
    }
}
</style>